﻿
function validateForm() {


    if ((document.getElementById("queryCode").value == null) || (document.getElementById("queryCode").value == "")) {
        alert("污染源举报编号!");
        document.getElementById("queryCode").focus();
        return false;
    }
    if ((document.getElementById("queryPassword").value == null) || (document.getElementById("queryPassword").value == "")) {
        alert("信息查询密码!");
        document.getElementById("queryPassword").focus();
        return false;
    }

    return true;
}
